/**
 * @Author: DengJia
 * @Date: 2021/10/8 17:04
 * @Description:
 */

public class VipUser implements Observice {

    private String id;
    private String username;

    @Override
    public void getIt(Object obj) {
        System.out.print("收到了推送:\t");
        System.out.println(obj);
    }

    @Override
    public String getId() {
        return this.id;
    }

    @Override
    public String getUsername() {
        return this.username;
    }

    public VipUser() {
    }

    public VipUser(String id, String username) {
        this.id = id;
        this.username = username;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
